package com.it.schoolbookshop_back.entities.po;

import lombok.Data;
import java.time.LocalDateTime;

/**
 * 评分实体类
 */
@Data
public class Rating {
    /**
     * 评分ID
     */
    private Integer id;
    
    /**
     * 交易ID
     */
    private Integer transactionId;
    
    /**
     * 评分人ID
     */
    private Integer raterId;
    
    /**
     * 被评分人ID
     */
    private Integer ratedId;
    
    /**
     * 评分(1-5)
     */
    private Integer score;
    
    /**
     * 评价内容
     */
    private String comment;
    
    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
} 